<template>
    <h2 style="text-align: center;">注册页面</h2>
    <table class="table-bordered">
        <tr>
            <td>登录名称</td>
            <td><input type="text"></td>
        </tr>
        <tr>
            <td>登录密码</td>
            <td><input type="password"></td>
        </tr>
        <tr>
            <td colspan="2" style="text-align: center;">
                <input type="button" value="注册" class="btn btn-success" @click="SaveData">
            </td>
        </tr>
    </table>
    </template>
    <script setup lang="ts">
    const SaveData=()=>{
        alert("注册成功");
    
    }
    </script>